package com.sharp.demo.vo.portal;

import com.sharp.portal.constant.anno.PortalField;
import com.sharp.portal.constant.anno.PortalId;
import com.sharp.portal.constant.anno.PortalModel;
import com.sharp.framework.dao.entity.Parameter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * Title: ParameterRes
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2020/11/5 14:08
 * @description Project Name: Seed
 * @Package: com.srct.service.vo.portal.parameter
 */
@Data
@EqualsAndHashCode(callSuper = true)
@PortalModel(value = "parameter", description = "参数配置", readOnly = false)
public class ParameterVO extends Parameter {

    /**
     * 参数编号
     */
    @PortalId
    @PortalField(required = true)
    @ApiModelProperty(value = "参数编号")
    private String parameterId;

    /**
     * 参数值
     */
    @PortalField(required = true)
    @ApiModelProperty(value = "参数值")
    private String value;

    /**
     * 注释
     */
    @PortalField(required = true)
    @ApiModelProperty(value = "注释")
    private String remark;

    /**
     * 模块名
     */
    @PortalField(required = true)
    @ApiModelProperty(value = "模块名")
    private String module;

    /**
     * 维护人员
     */
    @ApiModelProperty(value = "维护人员")
    private String manageType;

}
